*{
	margin: 0px;
	padding:0px;
	font-family: "微软雅黑";
}

body{
	background: url('../img/bg.png');
}

a img{
	border:none;
}

#content{
	padding-top: 10px;
}

#wrap{
	width: 960px;
	/*background: white;*/
	height: 100%;
}

#header{
	width: 100%;
	background: rgb(71,143,206);
	background-image: url("../img/head.png") ;
	background-repeat: repeat-x;
	/*border-bottom: 5px solid orange;*/
	/*height: 150px;*/
}

#subHeader{
	width: 100%;
	background: rgb(114,168,218);
	height: 90px;
}

#mainHeader,#toolBar,#mainFooter,#content{
	width: 960px;
	margin:0px auto;
}

#mainFooter{
	background: white;
	height: 200px;
}

#footer-img{
	float:left;
}

#footer-left{
	margin-top: 40px;
	margin-left: 30px;
}

#footer-right{
	margin-top: 40px;
}

#userBar{
	font-size: 15px;
	float: right;
	margin-top: 20px;
	padding:5px;
	color:white;
	font-size: 20px;
}

#userBar a{
	padding: 4px;
	text-decoration: none;
	color:white;
}

#userBar a:hover{
	background: rgb(62, 118, 167);
}


#topNav{
	float: left;
	margin-left: 120px;
	margin-top: 30px;
	background: rgb(188, 223, 240);
}

#topNav ul li,#subNav ul li{
	float: left;
	list-style: none;
}

#topNav ul li:hover,#subNav ul li:hover{
	background: white;
	box-shadow: 0px 0px 4px #fff;
	-webkit-transition: background 0.15s ease-in-out;
} 

#topNav ul li{
	/*border-bottom: 2px orange solid;*/
	height: 30px;
	width: 130px;
	font-size: 18px;
	line-height: 30px;
	vertical-align: middle;
	text-align: center;
}

.topNavPic{
	padding-top: 5px;
	height: 18px;
}

#subNav ul li{
	width: 100px;
	height: 80px;
	font-size: 15px;
}

#personalCenter{
	vertical-align: middle;
	line-height: 32px;
	text-align: center;
	background: white;
	padding: 10px;
	margin-top: 5px;
}

#personalCenter img{
	margin-bottom: -10px;
}

#logo{
	position: absolute;
	top:-40px;
	left: 20px;
}

#search{
	float: right;
	width: 300px;
	height: 70px;
}

#searchForm{

	width: 250px;
	display: block;
	margin:0px auto;
	padding-top: 15px;
}

#search-btn{
	width: 45px;
	height: 32px;
	border: 1px solid silver;
	border-left: 0px;
	vertical-align: middle;
	background: url('../img/search.png') no-repeat center;
	background-color: #f5f5f5;
}

#search-btn:hover{
	background-color: #eee;
}

#search-input{
	padding-left: 5px;
	width: 140px;
	height: 30px;
	border: 1px solid silver;
	border-right: 0px;
	border-left: 0px;
	line-height: 30px;
	vertical-align: middle;
	box-shadow: inset 1px 1px 0 rgba(0,0,0,.1),inset 0 -1px 0 rgba(0,0,0,.07);
}

#chooseOrder{
	font-size: 14px;
	text-align: center;
	color:white;
}

#selectorList{
	cursor: pointer;
	display:none;
	border:1px gray solid;
	margin-top:-1px;
	width: 50px;
	text-align: center;
	list-style: none;
	position: absolute;
	background: white;
	padding:2px;
}

#selectorList li:hover{
	background: orange;
}

#selectorList li{
	padding: 2px;
}

#selector{
	background-color: #f5f5f5;
	cursor: pointer;
	line-height: 30px;
	vertical-align: middle;
	height: 30px;
	border:1px silver solid;
	border-right: 0px;
	width: 55px;
	text-align: center;
	display: inline-block;
}

#subNav{
	text-align: center;
	position: relative;
}

#subNav ul{
	border-top: 5px solid rgb(114,168,218);
}

#toolBar{
}

#choose{
	padding-top: 10px;
	margin-top: 40px;
	margin-right: 10px;
	background: rgb(255, 220, 34);
	box-shadow: 0px 0px 4px #444;
	border-radius: 0 0 5px 5px;
	width: 120px;
	height: 30px;
	float: left;
	font-size: 15px;
}

.subNavPic{
	margin: 10px 0px 5px;
}


#footer{
	background: white;
	border-top: 2px gray solid;
	width: 100%;
	margin-top: 10px;
	padding-top: 20px;
}

#footer-left{
	float: left;
}

#footer-right{
	float: right;
}

.clearFix{
	clear: both;
}

#flashMessage,#authMessage{
	background: orange;
	font-weight: bold;
	padding:5px;
}



.prev,.next{
	padding: 3px;
	line-height: 40px;
	margin: 3px;
	border:1px solid rgb(224, 217, 217);
	background: #eee;
}

.prev:hover,.next:hover{
	border:1px solid rgb(230, 230, 230);
	background: #fefefe;
}

#uploading{
	display: none;
}

.noContent{
	font-size: 40px;
	text-align: center;
	color: #ccc;
}

a{
	color: black;
	text-decoration: none;
}

.recipeItemTags a:hover,.recipeItemDifficulty a:hover,.recipeItemMethod a:hover,.recipeItemTaste a:hover{
	color: white;
	background: black;
}

#grant{
	padding-top: 10px;
}

#grant a{
	color:blue;
	font-weight: bold;
}

#grant a:hover{
	color:white;
	background: black;
}